<div id="sortParamsWrap">
    <div class="span4">   
        <strong>Параметры 1 сорта:</strong><hr/>
        <div id="sortParams1" >
            <div id="sortList1">
                <div class="controls controls-row"> 
                    <?php foreach($dataSort1->getData() as $key=>$value) { ?>
                        <label class="text-info " for="Partner_sort1_catId<?php echo($value['catRatingId']); ?>"><?php echo($value['val']); ?>:</label>
                        <input class="input-xlarge" placeholder="Значение 1 параметра" type="text" value="<?php if(!empty($sort1[$key]->val)) {echo($sort1[$key]->val);} ?>" name="Partner[sort1][catId<?php echo($value['catRatingId']); ?>]" id="Partner_sort1_catId<?php echo($value['catRatingId']); ?>">
                    <?php  } ?>   
                </div>
            </div>
       </div>
    </div>
    <div class="span4">  
        <strong>Параметры 2 сорта:</strong><hr/>
        <div id="sortParams2">
            <div id="sortList2">

                <div id="sortList2">
                    <div class="controls controls-row"> 
                        <?php foreach($dataSort2->getData() as $key=>$value) { ?>
                            <label class="text-info " for="Partner_sort2_catId<?php echo($value['catRatingId']); ?>"><?php echo($value['val']); ?>:</label>
                            <input class="input-xlarge" placeholder="Значение параметра" type="text" value="<?php if(!empty($sort2[$key]->val)) {echo($sort1[$key]->val);} ?>" name="Partner[sort2][catId<?php echo($value['catRatingId']); ?>]" id="Partner_sort2_catId<?php echo($value['catRatingId']); ?>">
                        <?php  } ?>   
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
